ADP\BaseVersion\Includes\Core\RuleProcessor\PersistentRuleProcessor C

Total Complexity 101
Dependencies 24
Dependents 1
Total lines 715
Lines of code 392
Logical lines of code 237
Comment lines 156
Methods 24
Properties 13

Methods 24

Method Rating Maintainability Complexity Lines of code
applyRangeDiscounts()
D
28
37 128
processWithPrice()
B
34 16 100
isCategoryMatched()
A
55 8 20
isRuleOptionalMatchedCart()
S
63 5 11
__construct()
S
57 3 16
applyProductAdjustment()
S
60 3 13
isRuleMatchedCart()
S
64 3 11
addFreeProducts()
S
63 3 10
addAutoAddProducts()
S
63 3 10
process()
S
62 2 11
applyPriceToCartItem()
S
64 2 10
addAutoAdds()
S
72 2 6
applyToCartItem()
S
64 2 10
addGifts()
S
72 2 6
isProductMatched()
S
82 1 3
getLastExecTime()
S
82 1 3
applyToCart()
S
82 1 3
applyCartAdjustments()
S
80 1 3
matchConditions()
S
80 1 3
checkLimits()
S
80 1 3
withContext()
S
81 1 3
getStatus()
S
82 1 3
getRule()
S
82 1 3
checkConditions()
S
80 1 3